package com.bosssoft.cloud.wechat.common.infra.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Eips配置
 *
 * @author wcy create on 2021/7/7 15:33 下午
 */
@Data
@Component
@ConfigurationProperties(prefix = "eips")
public class EipsProperties {

    private Caizheng caizheng;

    // 财政配置
    @Data
    public static class Caizheng {
        // 下载票据文件类型
        private String downloadtype;
        // 区划
        private String localAreaCode;
    }

    // 当前域名domain
    private String prefix;
    // paths
    private List<Path> paths;

    @Data
    public static class Path {
        // path name
        private String name;
        // path
        private String path;
    }
}
